#七段数码管
#turtle datetime
#datetime.now（）.strftime('%Y%m%d')
#turtle.penup() turtle.fd() turtle.right()
import turtle,datetime
def drawLine(draw):#绘制单段数码管
    turtle.pendown() if draw else turtle.penup()
    turtle.fd(40)
    turtle.right(90)
def drawDigit(d): #根据数学绘制七段数码管
    drawLine(True) if d in [2,3,4,5,6,8,9] else drawLine(False)

